#ifndef HEROPLAN_H
#define HEROPLAN_H
#include <QPixmap>
#include "bullet.h"
#include"config.h"
class heroplan
{
public:
    heroplan();

    void shoot();
    void setPostion(int x,int y);

public:
    QPixmap m_Plane;
    int m_X;
    int m_Y;
    QRect m_Rect;

    Bullet m_bullets[BULLET_NUM];
    int m_recorder;
};

#endif // HEROPLAN_H
